﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SmartBusinessCardEntity
{
    public class UserInfo
    {
        private Guid _Id = Guid.Empty;
        private string _OpenId = string.Empty;
        private string _SessionKey = string.Empty;
        private Guid _StoreId = Guid.Empty;
        private int _StoreFlg;
        private int _Code;
        private string _Name = string.Empty;
        private string _Sex = string.Empty;
        private string _Job = string.Empty;
        private string _Tel = string.Empty;
        private string _AvatarUrl = string.Empty;
        private string _Email = string.Empty;
        private string _Address = string.Empty;
        private string _State = string.Empty;
        private Guid _Tocken = Guid.Empty;
        private string _LoginTime = string.Empty;
        private string _CreateTime = string.Empty;
        private string _Enable = string.Empty;
        public Guid Id
        {
            get { return _Id; }
            set { _Id = value; }
        }
        public string Openid
        {
            get { return _OpenId; }
            set { _OpenId = value; }
        }
        public string SessionKey
        {
            get { return _SessionKey; }
            set { _SessionKey = value; }
        }
        public Guid StoreId
        {
            get { return _StoreId; }
            set { _StoreId = value; }
        }
        public int Storeflg
        {
            get { return _StoreFlg; }
            set { _StoreFlg = value; }
        }
        public int Code
        {
            get { return _Code; }
            set { _Code = value; }
        }
        public string Name
        {
            get { return _Name; }
            set { _Name = value; }
        }
        public string Sex
        {
            get { return _Sex; }
            set { _Sex = value; }
        }
        public string Job
        {
            get { return _Job; }
            set { _Job = value; }
        }
        public string Tel
        {
            get { return _Tel; }
            set { _Tel = value; }
        }
        public string AvatarUrl
        {
            get { return _AvatarUrl; }
            set { _AvatarUrl = value; }
        }
        public string Email
        {
            get { return _Email; }
            set { _Email = value; }
        }
        public string Address
        {
            get { return _Address; }
            set { _Address = value; }
        }
        public string State
        {
            get { return _State; }
            set { _State = value; }
        }
        public Guid Tocken
        {
            get { return _Tocken; }
            set { _Tocken = value; }
        }
        public string Logintime
        {
            get { return _LoginTime; }
            set { _LoginTime = value; }
        }
        public string Createtime
        {
            get { return _CreateTime; }
            set { _CreateTime = value; }
        }
        public string Enable
        {
            get { return _Enable; }
            set { _Enable = value; }
        }

        private bool _IsRegister = false;
        /// <summary>
        /// 是否已经注册
        /// </summary>
        public bool IsRegister
        {
            get { return _IsRegister; }
            set { _IsRegister = value; }
        }
    }
}